package com.tao.repository;

import com.tao.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author: wangying
 * @Description:
 * @Date: Created in  2019/3/1
 */
public interface UserRepository extends JpaRepository<User,Integer>, JpaSpecificationExecutor<User> {

    User findByUserNameAndPassword(String userName, String password);
}
